package com.generator.statics.customerSalesStatics.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import com.generator.statics.customerSalesStatics.pojo.CustomCountCondition;
import com.generator.statics.customerSalesStatics.pojo.CustomerCount;
import com.generator.statics.customerSalesStatics.pojo.OrderOfProduct;
import com.generator.statics.customerSalesStatics.pojo.ProvinceCity;
import com.generator.util.PageModel02;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 88168
 * @since 2022-10-01
 */
public interface CustomerCountService extends IService<CustomerCount> {
    /**
     *
     * @param page
     * @return 分页查询客户信息
     */
    public Page<CustomerCount> selectCustomCount(CustomerCount customerCount,Page<CustomerCount> page);
    /**
     *
     * @param
     * @return 分页查询客户信息2
     */
    public PageModel02<CustomerCount> selectCustomCount02(CustomerCount customerCount, PageModel02<CustomerCount> pageModel) ;

        /**
         *
         * @param orderId
         * @return 根据订单查询 用户
         */
    public  List<CustomerCount> selectOneCustom( String orderId);

    /**
     *
     * @param orderId
     * @return 根据订单查询
     */
    public List<OrderOfProduct> selectProductsByOrderId(String orderId);
    /**
     *
     * @param customCountCondition
     * @param
     * @return 多条件查询
     */
    Page<CustomerCount> selectCustomCountByCondition(CustomCountCondition customCountCondition);

    /**
     *
     * @param pName
     * @return 返回省对应的城市
     */
    public List<ProvinceCity> cityByProvince(String pName);

}
